package cn.felord.debezium.common;

import java.util.HashMap;

//未去皮01 未校准02 倾斜03 超载04 长时间未校准05 传感器异常06 传感器寿命超限07
public class WarnDist {
    public static String qual = "合格";
    public static String qual_no = "不合格";
    public static  HashMap<String,String> getDist(){
        HashMap<String,String> hashMap = new HashMap<>();
        hashMap.put("0000","未报警");
        hashMap.put("0001","未去皮");
        hashMap.put("0002","未校准");
        hashMap.put("0003","倾斜");
        hashMap.put("0004","超载");
        hashMap.put("0005","长时间未校准");
        hashMap.put("0006","传感器异常");
        hashMap.put("0007","传感器寿命超限");
        return hashMap;
    }
    public static  HashMap<String,String> getDistJjfa(){
        HashMap<String,String> hashMap = new HashMap<>();
        hashMap.put("0000","未报警");
        hashMap.put("0001","未去皮，请去皮");
        hashMap.put("0002","未校准，请校准");
        hashMap.put("0003","秤架倾斜，请校准或者调整秤脚");
        hashMap.put("0004","超载，请减少称重物料");
        hashMap.put("0005","长时间未校准，请校准");
        hashMap.put("0006","断线，请检查连接线");
        hashMap.put("0007","使用次数超限，请更换传感器");
        return hashMap;
    }
//    增碳剂含碳量98.5%，吸收率85%；硅铁含硅量75%，吸收率95%；锰铁含锰量65%，吸收率95%；
//    铬铁含铬量62%，吸收率95%；电解镍含镍量100%，吸收率95%，铜粒含铜量100%，吸收率94%；
//    电解锡锡含量100%，吸收率63%；电解铝含率100%，吸收率95%。硫化铁含硫量47%，吸收率60%！
    public static  HashMap<String,String> getDistYs(){
        HashMap<String,String> hashMap = new HashMap<>();
        hashMap.put("Si","硅铁");
        hashMap.put("C","增碳剂");
        hashMap.put("Mn","锰铁");
        hashMap.put("Sn","电解锡");
        hashMap.put("Cu","铜粒");
        hashMap.put("S","硫化铁");
        hashMap.put("Cr","铬铁");
        hashMap.put("Al","电解铝");
        hashMap.put("Ni","电解镍");//
        hashMap.put("SiC","碳化硅");// 使用说明：收到加料时处理。SiC  传递是SC 特殊项 加料用判断料型用，后边不用 产前产后元素不用

        hashMap.put("SiCC","碳化硅(C)");
        hashMap.put("SiCS","碳化硅(Si)");
        hashMap.put("SLC","增碳剂");
        hashMap.put("SLSi","硅粒");
        return hashMap;
    }
    public static  HashMap<String,String> getDistMaterias(){
        HashMap<String,String> hashMap = new HashMap<>();
        hashMap.put("HL","回炉");
        hashMap.put("FG","废钢");
        hashMap.put("ST","生铁");
        hashMap.put("GFG","高铬废钢");
        return hashMap;
    }

}
